package com.gxa.mapper.cm;

import com.gxa.param.cm.QueryParam;
import com.gxa.pojo.cm.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Glenn
 */
public interface CustomerMapper {
    Customer getById(Integer id);

    List<Customer> listCustomer(QueryParam queryParam);

    int updateStatus(@Param("id") Integer id, @Param("status") Integer status);

    int insertCustomer(Customer customer);

    int updateCustomer(Customer customer);
}
